package com.zzxy.entity;

import java.util.Date;

public class UserDaoImpl {
   SqlSession sqlSession;

    public void setSqlSession(SqlSession sqlSession) {
        this.sqlSession = sqlSession;
    }
    public User findUserByDao(int id){
        User user =sqlSession.selectOne("findUserById",id);
        return user;
    }
}